package com.itsv.xhyy;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;

import android.os.AsyncTask;
import android.os.Bundle;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Intent;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.view.animation.LinearInterpolator;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.Button;
import android.widget.DatePicker;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.DatePicker.OnDateChangedListener;

public class PaiBanActivity extends Activity implements OnClickListener {

	private Button backButton, reshButton;

	private ImageView iv_loading = null;// �ջ�����
	private Animation animation = null;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_paiban_list);
		initView();
	}

	private void initView() {
		backButton = (Button) findViewById(R.id.waterlist_back_button);
		reshButton = (Button) findViewById(R.id.waterlist_refresh_button);
		backButton.setOnClickListener(this);
		reshButton.setOnClickListener(this);
		iv_loading = (ImageView) findViewById(R.id.waterlist_iv_loading);
		animation = AnimationUtils.loadAnimation(this, R.anim.loading);
		LinearInterpolator lin = new LinearInterpolator();
		animation.setInterpolator(lin);
		iv_loading.clearAnimation();
		iv_loading.setVisibility(View.GONE);

	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.waterlist_back_button:
			finish();
			break;
		case R.id.waterlist_refresh_button:
			break;
		default:
			break;
		}

	}

	@Override
	protected void onDestroy() {
		// TODO Auto-generated method stub
		super.onDestroy();
	}

}
